package com.example.malldemo.service;

import com.example.malldemo.mbg.model.UmsAdmin;
import com.example.malldemo.mbg.model.UmsPermission;

import java.util.List;

public interface UmsAdminService {
    UmsAdmin getAdminByUserName(String username);

    UmsAdmin register(UmsAdmin umsAdminParam);

    String login(String username, String password);

    List<UmsPermission> getPermissionList(Long adminId);

}
